#!/bin/sh
# Linux: may be able to use external/jri unless its the wrong versions
java -Xmx2048m -Djava.library.path=external/jri -classpath java/jars/stcw.jar jpave.qr.QRMain $@ 

# setenv R_HOME to location of complete R install, e.g. /usr/lib64/R
# which must have the /etc under it with Renviron

# Mac-OSX: setenv R_HOME /Library/Frameworks/R.framework/Resources
# Comment the above java line and uncomment the following:
java -Xmx2048m -Djava.library.path=/Library/Frameworks/R.framework/Resources/library/rJava/jri -classpath java/jars/stcw.jar jpave.qr.QRMain $@ 
